package project.simpleMsg;

import java.util.ArrayList;

public class ListUtil {

	private static final <T> ArrayList<T> generateArraylist(Class<T> argsClz,
			T... args) {
		ArrayList<T> list = new ArrayList<T>();
		for (int i = 0; i < args.length; i++)
			list.add(args[i]);
		return list;
	}

	public static final ArrayList<Object> generateDcArgs(Object... args) {
		return generateArraylist(Object.class, args);
	}
}
